package com.aseo.business.hibernate;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.aseo.model.dao.Dao;
import com.aseo.model.entity.hibernate.FotoReclamo;

@Service
public class FotoReclamoManager implements ManagerInterface<FotoReclamo> {

	@Resource  
	private Dao dao;
	
	@Override
	public List<FotoReclamo> getAll() {
		final List<FotoReclamo> list = dao.find(FotoReclamo.class);  
	    return list;
	}

	@Override
	public void persist(FotoReclamo t) {
		dao.persist(t);
	}

}
